package com.huaboot.system.convert;

import com.huaboot.system.entity.SysUserTokenEntity;
import com.huaboot.system.vo.SysUserTokenVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户Token
*
* @author ff xxx
* @since 1.0.0 2023-09-04
*/
@Mapper
public interface SysUserTokenConvert {
    SysUserTokenConvert INSTANCE = Mappers.getMapper(SysUserTokenConvert.class);

    SysUserTokenEntity convert(SysUserTokenVO vo);

    SysUserTokenVO convert(SysUserTokenEntity entity);

    List<SysUserTokenVO> convertList(List<SysUserTokenEntity> list);

}